package net.hn.hnms.biz.api.safety.gasext.domain.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * 智呈物联 pan'sx
 * 2022/7/26 21:51
 * 1.0 version
 */
@ApiModel("人员安全监控-井下带班领导")
@Data
public class LeadInfoDto {

    @ApiModelProperty("人员卡号")
    private String code;

    @ApiModelProperty("人员名称")
    private  String name;

    @ApiModelProperty(value = "职务")
    private String position;

    @ApiModelProperty(value = "部门名称")
    private String deptName;

    @ApiModelProperty("工作状况")
    private String workingCondition;


    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty("入井时间")
    private Date startTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty("出井时间")
    private Date endTime;

    @ApiModelProperty("持续时长，秒数")
    private Long duration;
}
